import request from '@/utils/request'

export function listDormitoryViolations(data) {
  return request({
    url: '/report/dormitoryViolations/list',
    method: 'post',
    data: data
  })
}

export function exportDormitoryViolations(query) {
  return request({
    url: '/report/dormitoryViolations/export',
    method: 'post',
    responseType:'blob',
    data: query
  })
}
